/**
 * 2025/01/01 - 2025/12/31
 */
package com.snail.server.iam.enums;

import lombok.Getter;
import lombok.ToString;

/**
 *
 * @author zgadmin
 * @date 2025/9/24 18:46
 *
 */
@Getter
@ToString
public enum LoginTypeEnum {

    USER_NAME(1, "用户名"),
    MOBILE(2, "手机号"),
    ;

    private final Integer code;

    private final String desc;

    LoginTypeEnum(Integer code, String desc){
        this.code = code;
        this.desc = desc;
    }

}